package com.ruoyi.bbsAdmin.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * bbs_inform对象 bbs_inform
 * 
 * @author ruoyi
 * @date 2023-11-25
 */
public class Inform extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 唯一id */
    private String informid;

    /** 举报人id */
    @Excel(name = "举报人id")
    private String userid;

    /** 学校id */
    @Excel(name = "学校id")
    private int schoolid;

    /** 被举报人userId */
    @Excel(name = "被举报人userId")
    private String informeduserid;

    /** 被举报对应帖子ID */
    @Excel(name = "被举报对应帖子ID")
    private String contentid;

    /** 被举报id */
    @Excel(name = "被举报id")
    private String targetid;

    /** 被举报内容 */
    @Excel(name = "被举报内容")
    private String targettext;

    /** 举报内容 */
    @Excel(name = "举报内容")
    private String informinfo;

    /** 举报图片 */
    @Excel(name = "举报图片")
    private String informurl;

    /** 0：评论；1：帖子； */
    @Excel(name = "0：评论；1：帖子；")
    private Long iscontent;

    /** 创建时间 */
    @Excel(name = "创建时间")
    private Date createtime;

    /** 更新时间 */
    @Excel(name = "更新时间")
    private Date updatetime;

    public void setSchoolid(Integer schoolid)
    {
        this.schoolid = schoolid;
    }
    public Integer getSchoolid()
    {
        return schoolid;
    }

    public Date getCreatetime()
    {
        return createtime;
    }

    public void setCreatetime(Date createtime)
    {
        this.createtime = createtime;
    }
    public Date getUpdatetime()
    {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime)
    {
        this.updatetime = updatetime;
    }

    public void setInformid(String informid) 
    {
        this.informid = informid;
    }

    public String getInformid() 
    {
        return informid;
    }
    public void setUserid(String userid) 
    {
        this.userid = userid;
    }

    public String getUserid() 
    {
        return userid;
    }
    public void setInformeduserid(String informeduserid) 
    {
        this.informeduserid = informeduserid;
    }

    public String getInformeduserid() 
    {
        return informeduserid;
    }
    public void setContentid(String contentid) 
    {
        this.contentid = contentid;
    }

    public String getContentid() 
    {
        return contentid;
    }
    public void setTargetid(String targetid) 
    {
        this.targetid = targetid;
    }

    public String getTargetid() 
    {
        return targetid;
    }
    public void setTargettext(String targettext) 
    {
        this.targettext = targettext;
    }

    public String getTargettext() 
    {
        return targettext;
    }
    public void setInforminfo(String informinfo) 
    {
        this.informinfo = informinfo;
    }

    public String getInforminfo() 
    {
        return informinfo;
    }
    public void setInformurl(String informurl) 
    {
        this.informurl = informurl;
    }

    public String getInformurl() 
    {
        return informurl;
    }
    public void setIscontent(Long iscontent) 
    {
        this.iscontent = iscontent;
    }

    public Long getIscontent() 
    {
        return iscontent;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("informid", getInformid())
            .append("userid", getUserid())
            .append("informeduserid", getInformeduserid())
            .append("contentid", getContentid())
            .append("targetid", getTargetid())
            .append("targettext", getTargettext())
            .append("informinfo", getInforminfo())
            .append("informurl", getInformurl())
            .append("iscontent", getIscontent())
            .append("createtime", getCreatetime())
            .append("updatetime", getUpdatetime())
            .append("schoolid",getSchoolid())
            .toString();
    }
}
